#ifndef _H_VM_STATUS_H_
#define _H_VM_STATUS_H_
class VMStatus{
private:
	Ogre::Vector3 _pos;
	Ogre::Vector4 _color;
	bool _pos_change;
	bool _color_change;
public:
	VMStatus(){};
	VMStatus(Ogre::Vector3 pos,Ogre::Vector4 color){
		this->_pos = pos;
		this->_color = color;
		this->_pos_change = false;
		this->_color_change = false;
	}
	Ogre::Vector3 getPos(){
		return this->_pos;
	}
	Ogre::Vector4 getColor(){
		return this->_color;
	}
	void setPosChange(bool s){
		this->_pos_change = s;
	}
	void setColorChange(bool s){
		this->_color_change = s;
	}
	void setPos(Ogre::Vector3 pos){
		if(this->_pos_change){
			this->_pos = pos;
		}
		this->_pos_change = false;
	}
	void setColor(Ogre::Vector4 color){
		if(this->_color_change){
			this->_color = color;
		}
		this->_color_change = false;
	}
	~VMStatus(){}
};
#endif
